Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unsafe in espressocrypto #380

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Remove unsafe in espressocrypto #380

merged 3 commits into from
Dec 19, 2024

Conversation

ImJeremyHe
Copy link
Member

@ImJeremyHe ImJeremyHe commented Dec 11, 2024

Closes #339

This PR includes:

  • Removal of unsafe in Espresso Crypto
    Replaced all unsafe code to ensure better safety and maintainability.

  • Updated Go Client with New API for Retrieving Raw Headers
    Integrated the latest API, which allows direct access to raw headers.

  • Enhanced Performance by Eliminating Header Marshaling
    Leveraged the new API to avoid redundant header marshaling, improving efficiency. As a result, the Go client no longer needs to support marshaling headers.

Copy link

@Sneh1999 Sneh1999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ImJeremyHe ImJeremyHe force-pushed the jh/issue339 branch 6 times, most recently from a72471b to 1f55180 Compare December 18, 2024 06:24
@ImJeremyHe ImJeremyHe marked this pull request as ready for review December 18, 2024 06:26
@ImJeremyHe ImJeremyHe marked this pull request as draft December 18, 2024 07:43
@ImJeremyHe ImJeremyHe marked this pull request as ready for review December 19, 2024 01:25
@ImJeremyHe ImJeremyHe merged commit 801189b into integration Dec 19, 2024
13 checks passed
@ImJeremyHe ImJeremyHe deleted the jh/issue339 branch December 19, 2024 02:14
Copy link

Backport failed for celestia-integration, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin celestia-integration
git worktree add -d .worktree/backport-380-to-celestia-integration origin/celestia-integration
cd .worktree/backport-380-to-celestia-integration
git switch --create backport-380-to-celestia-integration
git cherry-pick -x df1848b17eaa8c13a81da7b368dc749bdd2eccac 53ab629713f9db6057ecb8e60471bae886935ff1 905ee28af9c67a5417d014df69c2e5a8876e4453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the std::mem::transmute when getting NsTable in Rust espresso crypto
2 participants